home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_0799 / 619 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.8 KB

  1. Date: Thu, 16 Jun 94 19:42:00 +0200
  2. Message-Id: <2e009d20@daggskim.ct.se>
  3. From: bo.leuf@daggskim.ct.se (Bo Leuf)
  4. Subject: Re: what about this?
  5. To: gem-list@world.std.com
  6. Precedence: bulk
  7.  
  8.  
  9. I got a bit more response from the "novel" idea than I expected, and interested
  10. that at least one saw this as potentially useful. I'm not saying that it
  11. _should_ be used, but considering some of the more arcane doubleclick&drag
  12. shift-ctrl stuff that can pop up in discussions like this, my initial reaction
  13. to my own idea was... well, just maybe...
  14.  
  15. Anyway, to meet the "nonsensical" counter:
  16.  
  17.  > [...] What if a person accidentally types a word with TWO
  18.  > letters in it which are exactly the same, and it's not meant as a
  19.  > double-
  20.  > key click? Say, for instance, "Stopping", "Cancelling", "Accidents",
  21.  > etc.  You get the idea.  It doesn't make sense.
  22.  
  23. This kind of keyboard "doubleclick" would only have to be a reasonable command
  24. when we have a Ctrl-key combination. It boils down to being part of the normal
  25. test-if-Ctrl part of the application's keyboard event loop. If Ctrl is not
  26. held, then the code does not have to pause to consider if this is a single or
  27. double version.
  28.  
  29. I agree with the comment that the interpretation is better reversed, i.e. that
  30. a single Ctrl-F (say) means call-up-the-dialog, and the double Ctrl-F-F would
  31. be the skip-the-dialog-and-get-on-with-it response. The handling of this should
  32. be possible within the application code with simple timing and testing and not
  33. require any event_multi() changes. I doubt that there would be any significant
  34. problems with repeat; again remember that the test need only consider
  35. Ctrl-something, not any and every key typed.
  36.  
  37. I'm going to try this concept out in some code sometime soon and get the feel
  38. of it. Thanks for your replies. Presumably this thread can end here.
  39.  
  40.  (illegible signature) Bo Leuf
  41.  
  42.  
  43.  
  44.  
  45.